<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./test.js"></script>
    <script>
      // 页面加载完后加载
      window.onload = function(){
        recordFunc();
      }
    </script>
</head>
<body>
    <h1>STT</h1>
    <button id="record">开始</button>
    <button id="stop">停止</button>
    <p>STT is a web application that allows you to convert text to speech and speech to text. </p>
</html>